Optimal. Leaf size=94 \[ \frac{a^2 \sqrt{c x^2} (d x)^{m+2}}{d^2 (m+2) x}+\frac{2 a b \sqrt{c x^2} (d x)^{m+3}}{d^3 (m+3) x}+\frac{b^2 \sqrt{c x^2} (d x)^{m+4}}{d^4 (m+4) x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0410875, antiderivative size = 94, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.136, Rules used = {15, 16, 43} \[ \frac{a^2 \sqrt{c x^2} (d x)^{m+2}}{d^2 (m+2) x}+\frac{2 a b \sqrt{c x^2} (d x)^{m+3}}{d^3 (m+3) x}+\frac{b^2 \sqrt{c x^2} (d x)^{m+4}}{d^4 (m+4) x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 15
Rule 16
Rule 43
Rubi steps
\begin{align*} \int (d x)^m \sqrt{c x^2} (a+b x)^2 \, dx &=\frac{\sqrt{c x^2} \int x (d x)^m (a+b x)^2 \, dx}{x}\\ &=\frac{\sqrt{c x^2} \int (d x)^{1+m} (a+b x)^2 \, dx}{d x}\\ &=\frac{\sqrt{c x^2} \int \left (a^2 (d x)^{1+m}+\frac{2 a b (d x)^{2+m}}{d}+\frac{b^2 (d x)^{3+m}}{d^2}\right ) \, dx}{d x}\\ &=\frac{a^2 (d x)^{2+m} \sqrt{c x^2}}{d^2 (2+m) x}+\frac{2 a b (d x)^{3+m} \sqrt{c x^2}}{d^3 (3+m) x}+\frac{b^2 (d x)^{4+m} \sqrt{c x^2}}{d^4 (4+m) x}\\ \end{align*}
Mathematica [A] time = 0.049885, size = 72, normalized size = 0.77 \[ \frac{x \sqrt{c x^2} (d x)^m \left (a^2 \left (m^2+7 m+12\right )+2 a b \left (m^2+6 m+8\right ) x+b^2 \left (m^2+5 m+6\right ) x^2\right )}{(m+2) (m+3) (m+4)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.005, size = 95, normalized size = 1. \begin{align*}{\frac{ \left ({b}^{2}{m}^{2}{x}^{2}+2\,ab{m}^{2}x+5\,{b}^{2}m{x}^{2}+{a}^{2}{m}^{2}+12\,abmx+6\,{b}^{2}{x}^{2}+7\,{a}^{2}m+16\,abx+12\,{a}^{2} \right ) x \left ( dx \right ) ^{m}}{ \left ( 4+m \right ) \left ( 3+m \right ) \left ( 2+m \right ) }\sqrt{c{x}^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.08932, size = 86, normalized size = 0.91 \begin{align*} \frac{b^{2} \sqrt{c} d^{m} x^{4} x^{m}}{m + 4} + \frac{2 \, a b \sqrt{c} d^{m} x^{3} x^{m}}{m + 3} + \frac{a^{2} \sqrt{c} d^{m} x^{2} x^{m}}{m + 2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.35785, size = 203, normalized size = 2.16 \begin{align*} \frac{{\left ({\left (b^{2} m^{2} + 5 \, b^{2} m + 6 \, b^{2}\right )} x^{3} + 2 \,{\left (a b m^{2} + 6 \, a b m + 8 \, a b\right )} x^{2} +{\left (a^{2} m^{2} + 7 \, a^{2} m + 12 \, a^{2}\right )} x\right )} \sqrt{c x^{2}} \left (d x\right )^{m}}{m^{3} + 9 \, m^{2} + 26 \, m + 24} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]